package com.suray.wcs.web.system.request;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.suray.wcs.service.enums.TaskRgvProgress;
import com.suray.wcs.service.enums.TaskStatus;
import com.suray.wcs.service.enums.TaskType;
import com.suray.wcs.service.system.bo.PageBO;

import java.util.Date;
import java.util.HashMap;
import java.util.Map;

public class QueryTasksRequest {
    private String taskId;
    private String wmsTaskId;
    private Integer taskType;
    private Integer processingRgvNo;
    private Integer taskStatus;
    private Integer plcProgress;
    private Integer rgvProgress;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date insertTimeStart;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date insertTimeEnd;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date executeTimeStart;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date executeTimeEnd;
    private String barCode;
    private String startNodeStr;
    private String endNodeStr;
    private Integer taskStatusGroup;
    private Long currentPage;
    private Long pageSize;
    private Long pageNum;
    /**
     * 请求参数
     */
    private Map<String, Object> params;

    public Map<String, Object> getParams() {
        if (params == null) {
            params = new HashMap<>();
        }
        return params;
    }

    public void setParams(Map<String, Object> params) {
        this.params = params;
    }

    public String getTaskId() {
        return taskId;
    }

    public void setTaskId(String taskId) {
        this.taskId = taskId;
    }

    public String getWmsTaskId() {
        return wmsTaskId;
    }

    public void setWmsTaskId(String wmsTaskId) {
        this.wmsTaskId = wmsTaskId;
    }

    public Integer getTaskType() {
        return taskType;
    }

    public void setTaskType(Integer taskType) {
        this.taskType = taskType;
    }

    public Integer getProcessingRgvNo() {
        return processingRgvNo;
    }

    public void setProcessingRgvNo(Integer processingRgvNo) {
        this.processingRgvNo = processingRgvNo;
    }

    public Integer getTaskStatus() {
        return taskStatus;
    }

    public void setTaskStatus(Integer taskStatus) {
        this.taskStatus = taskStatus;
    }

    public Integer getPlcProgress() {
        return plcProgress;
    }

    public void setPlcProgress(Integer plcProgress) {
        this.plcProgress = plcProgress;
    }

    public Integer getRgvProgress() {
        return rgvProgress;
    }

    public void setRgvProgress(Integer rgvProgress) {
        this.rgvProgress = rgvProgress;
    }

    public Date getInsertTimeStart() {
        return insertTimeStart;
    }

    public void setInsertTimeStart(Date insertTimeStart) {
        this.insertTimeStart = insertTimeStart;
    }

    public Date getInsertTimeEnd() {
        return insertTimeEnd;
    }

    public void setInsertTimeEnd(Date insertTimeEnd) {
        this.insertTimeEnd = insertTimeEnd;
    }

    public Date getExecuteTimeStart() {
        return executeTimeStart;
    }

    public void setExecuteTimeStart(Date executeTimeStart) {
        this.executeTimeStart = executeTimeStart;
    }

    public Date getExecuteTimeEnd() {
        return executeTimeEnd;
    }

    public void setExecuteTimeEnd(Date executeTimeEnd) {
        this.executeTimeEnd = executeTimeEnd;
    }

    public String getBarCode() {
        return barCode;
    }

    public void setBarCode(String barCode) {
        this.barCode = barCode;
    }

    public String getStartNodeStr() {
        return startNodeStr;
    }

    public void setStartNodeStr(String startNodeStr) {
        this.startNodeStr = startNodeStr;
    }

    public String getEndNodeStr() {
        return endNodeStr;
    }

    public Integer getTaskStatusGroup() {
        return taskStatusGroup;
    }

    public void setTaskStatusGroup(Integer taskStatusGroup) {
        this.taskStatusGroup = taskStatusGroup;
    }

    public void setEndNodeStr(String endNodeStr) {
        this.endNodeStr = endNodeStr;
    }

    public Long getCurrentPage() {
        return currentPage;
    }

    public void setCurrentPage(Long currentPage) {
        this.currentPage = currentPage;
    }

    public Long getPageSize() {
        return pageSize;
    }

    public void setPageSize(Long pageSize) {
        this.pageSize = pageSize;
    }

    public Long getPageNum() {
        return pageNum;
    }

    public void setPageNum(Long pageNum) {
        this.pageNum = pageNum;
    }
}
